#define _CRT_SECURE_NO_WARNINGS
#include "12.30_hs.h"

struct xr* set_struct_xr(struct xr* p, char* str)
{
	strcpy(p->name, str);
	strcpy(p->sex, "Ů");
	p->age = 18;
	p->s.Chinese = 150;
	p->s.English = 150;
	p->s.Math = 150;
	return p;
}

void Print_struct_xr(struct xr* p)
{
	printf("%s %s %d %d %d %d\n", p->name, p->sex, p->age, p->s.English, p->s.Chinese, p->s.Math);
}